<div id="step2">
    <div class="goods">
        <div id="image" class="image"><img src="{$res['pic_url']}" alt="{$res['title']}"/></div>
        <p id="title"><a href="{$res['obj_url']}" title="{$res['title']}" target="_blank">{$res['title']}</a></p>
        <p id="ori_price">原价：{$res['price']}元</p>
        <p id="ori_price">返利：{$res['commission']}元</p>
        <p id="ori_price">已售：{$res['commission_num']}件</p>
        <div id="discount" class="discount">发现商品隐藏折扣<br><span>{$res['commission_rate']}%</span></div>
    </div>
    <a href="__ROOT__" id="click_back1" title="寻利淘" class="click_back1"></a>
    <div class="input_box">
        <span>输入您的淘宝会员名：</span>
        <div class="input_keywords">
            <input type="text" name="nick" id="nick"/>
        </div>
        <div class="btn_click" id="click_step2">
            <div id="bg" style="background-position: -0px -58px; width: 145px; height: 40px">
            </div>
        </div>
        <span class="step2_message" id="step2_message"></span>
        <input type="hidden" id="click_url" value=""/>
    </div>
</div>
<script>
    $("#click_step2").bind("click",
    function() {
        $.nick = $("#nick").val();
        if ($.nick == '') {
            $('#step2_message').html('请输入你的淘宝会员名！');
            return;
        }
        step2($.nick);
    });
    $("#click_back1").bind("click",
    function() { //返回的时候,应该清空淘宝名称
        window.location.href=$.weburl;
    });
    document.title="{$item_title}"+document.title;
    if($.itemid != null){
        window.location.hash="#itemid="+$.itemid;
    }else{
        window.location.hash="#shopid="+$.shopid;
    }
</script>